﻿<UserControl 
  x:Class="iTFF.WPF.Model.Toaster.UI.AeroSprit"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Height="80" MinWidth="110" MaxWidth="500" 
  BorderBrush="#FF000000">
  
  <DockPanel>
    <Grid DockPanel.Dock="Left">
      <Rectangle Margin="3,5,5,57" MaxWidth="425" RadiusX="5" RadiusY="5" StrokeThickness="0.5">
        <Rectangle.Stroke>
          <LinearGradientBrush EndPoint="0.903,0.203" StartPoint="0.097,0.797">
            <GradientStop Color="#FF000000" Offset="0"/>
            <GradientStop Color="#FFFFFFFF" Offset="1"/>
          </LinearGradientBrush>
        </Rectangle.Stroke>
        <Rectangle.Fill>
          <LinearGradientBrush EndPoint="0.5,1.022" StartPoint="0.5,-0.022">
            <GradientStop Color="#CCFFFFFF" Offset="0"/>
            <GradientStop Color="#CC000000" Offset="1"/>
            <GradientStop Color="#CC868686" Offset="0.911"/>
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Label HorizontalAlignment="Left" Content="{Binding Title}" Margin="10,5,12,55" MaxWidth="420" Padding="2" FontWeight="Bold" 
           BorderThickness="0,0,0,1" Foreground="{Binding ToasterSkin.ForegroundBrush}" />
      <Rectangle Margin="3,27,5,8" RadiusX="5" RadiusY="5" Stroke="#E5FFFFFF">
        <Rectangle.Fill>
          <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#0C000000" Offset="0"/>
            <GradientStop Color="#0CFFFFFF" Offset="1"/>
          </LinearGradientBrush>
        </Rectangle.Fill>
      </Rectangle>
      
      <Label HorizontalAlignment="Left" Content="{Binding Artist}" Margin="5,30,7,30" MaxWidth="420" Padding="2" 
             Foreground="{Binding ToasterSkin.ForegroundBrush}" />
      <Label HorizontalAlignment="Left" Content="{Binding Album}" Margin="5,50,7,10" MaxWidth="420" Padding="2"
             Foreground="{Binding ToasterSkin.ForegroundBrush}" />
      
    </Grid>
    <Grid DockPanel.Dock="Right" Width="80" HorizontalAlignment="Right">
      <Rectangle Margin="3" RadiusX="5" RadiusY="5" Fill="#19000000" StrokeThickness="0.5"></Rectangle>
      <Image Height="70" Width="70" Margin="5" Source="{Binding ImageSource}" />
    </Grid>
  </DockPanel>
</UserControl>
